<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/tw-timing.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">tw-timing.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="ross_8h_source.html">ross.h</a>&gt;</code><br/>
</div>
<p><a href="tw-timing_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:abb6fbfaf29e819dca59955bfda375992"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-timing_8c.html#abb6fbfaf29e819dca59955bfda375992">tw_wall_now</a> (<a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *t)</td></tr>
<tr class="separator:abb6fbfaf29e819dca59955bfda375992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47c205fb13e816aa4a0252ab2e7cd094"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-timing_8c.html#a47c205fb13e816aa4a0252ab2e7cd094">tw_wall_sub</a> (<a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *r, <a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *a, <a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *b)</td></tr>
<tr class="separator:a47c205fb13e816aa4a0252ab2e7cd094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0f8e95d53bcbe6803081588d3058146"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-timing_8c.html#ae0f8e95d53bcbe6803081588d3058146">tw_wall_to_double</a> (<a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *t)</td></tr>
<tr class="separator:ae0f8e95d53bcbe6803081588d3058146"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="abb6fbfaf29e819dca59955bfda375992"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_wall_now </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-timing_8c_source.html#l00004">4</a> of file <a class="el" href="tw-timing_8c_source.html">tw-timing.c</a>.</p>

<p>References <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, and <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00514">tw_scheduler_conservative()</a>, <a class="el" href="tw-sched_8c_source.html#l00634">tw_scheduler_optimistic()</a>, <a class="el" href="tw-sched_8c_source.html#l00733">tw_scheduler_optimistic_debug()</a>, <a class="el" href="tw-sched_8c_source.html#l00680">tw_scheduler_optimistic_realtime()</a>, and <a class="el" href="tw-sched_8c_source.html#l00445">tw_scheduler_sequential()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_cgraph.png" border="0" usemap="#tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_cgraph" alt=""/></div>
<map name="tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_cgraph" id="tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_cgraph">
<area shape="rect" id="node2" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="152,5,221,32"/><area shape="rect" id="node3" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="270,5,367,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_icgraph.png" border="0" usemap="#tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_icgraph" alt=""/></div>
<map name="tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_icgraph" id="tw-timing_8c_abb6fbfaf29e819dca59955bfda375992_icgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="153,5,333,32"/><area shape="rect" id="node5" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="161,56,324,83"/><area shape="rect" id="node6" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="161,107,324,149"/><area shape="rect" id="node7" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="161,173,324,214"/><area shape="rect" id="node8" href="tw-sched_8c.html#ae19668282cb4aab245e2382eea8f1967" title="tw_scheduler_sequential" alt="" coords="160,239,325,265"/><area shape="rect" id="node3" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="381,115,443,141"/><area shape="rect" id="node4" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="491,115,541,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a47c205fb13e816aa4a0252ab2e7cd094"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_wall_sub </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-timing_8c_source.html#l00011">11</a> of file <a class="el" href="tw-timing_8c_source.html">tw-timing.c</a>.</p>

<p>Referenced by <a class="el" href="tw-stats_8c_source.html#l00035">tw_get_stats()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-timing_8c_a47c205fb13e816aa4a0252ab2e7cd094_icgraph.png" border="0" usemap="#tw-timing_8c_a47c205fb13e816aa4a0252ab2e7cd094_icgraph" alt=""/></div>
<map name="tw-timing_8c_a47c205fb13e816aa4a0252ab2e7cd094_icgraph" id="tw-timing_8c_a47c205fb13e816aa4a0252ab2e7cd094_icgraph">
<area shape="rect" id="node2" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="150,196,247,223"/><area shape="rect" id="node3" href="st-sim-engine_8c.html#aeec2327264c7e2fc4b1d01aff188fc7b" title="st_collect_engine_data" alt="" coords="296,157,451,184"/><area shape="rect" id="node14" href="tw-stats_8c.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="548,309,620,336"/><area shape="rect" id="node4" href="analysis-lp_8h.html#ad74eeee6fcd09d61e982a87d59473a61" title="analysis_event" alt="" coords="529,157,639,184"/><area shape="rect" id="node5" href="st-instrumentation_8h.html#a1dad744b7748e0ae7eee6b11577e744b" title="st_inst_finalize" alt="" coords="529,56,639,83"/><area shape="rect" id="node6" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="718,183,898,209"/><area shape="rect" id="node11" href="ross-gvt_8h.html#a0d905b32b2567dd637c4926872622a70" title="tw_gvt_step2" alt="" coords="534,208,634,235"/><area shape="rect" id="node12" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="525,259,643,285"/><area shape="rect" id="node13" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="499,5,669,32"/><area shape="rect" id="node9" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="727,233,889,260"/><area shape="rect" id="node10" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="727,117,889,158"/><area shape="rect" id="node7" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="947,233,1008,260"/><area shape="rect" id="node8" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1056,233,1107,260"/><area shape="rect" id="node15" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="727,335,889,377"/><area shape="rect" id="node16" href="tw-sched_8c.html#ae19668282cb4aab245e2382eea8f1967" title="tw_scheduler_sequential" alt="" coords="725,284,891,311"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae0f8e95d53bcbe6803081588d3058146"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_wall_to_double </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tw-timing_8h.html#afb3cc3360b4871f1d990048a71b909c6">tw_wtime</a> *&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-timing_8c_source.html#l00024">24</a> of file <a class="el" href="tw-timing_8c_source.html">tw-timing.c</a>.</p>

<p>Referenced by <a class="el" href="tw-stats_8c_source.html#l00035">tw_get_stats()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-timing_8c_ae0f8e95d53bcbe6803081588d3058146_icgraph.png" border="0" usemap="#tw-timing_8c_ae0f8e95d53bcbe6803081588d3058146_icgraph" alt=""/></div>
<map name="tw-timing_8c_ae0f8e95d53bcbe6803081588d3058146_icgraph" id="tw-timing_8c_ae0f8e95d53bcbe6803081588d3058146_icgraph">
<area shape="rect" id="node2" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="185,196,282,223"/><area shape="rect" id="node3" href="st-sim-engine_8c.html#aeec2327264c7e2fc4b1d01aff188fc7b" title="st_collect_engine_data" alt="" coords="331,157,485,184"/><area shape="rect" id="node14" href="tw-stats_8c.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="583,309,655,336"/><area shape="rect" id="node4" href="analysis-lp_8h.html#ad74eeee6fcd09d61e982a87d59473a61" title="analysis_event" alt="" coords="564,157,673,184"/><area shape="rect" id="node5" href="st-instrumentation_8h.html#a1dad744b7748e0ae7eee6b11577e744b" title="st_inst_finalize" alt="" coords="564,56,673,83"/><area shape="rect" id="node6" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="753,183,933,209"/><area shape="rect" id="node11" href="ross-gvt_8h.html#a0d905b32b2567dd637c4926872622a70" title="tw_gvt_step2" alt="" coords="569,208,669,235"/><area shape="rect" id="node12" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="560,259,677,285"/><area shape="rect" id="node13" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="533,5,704,32"/><area shape="rect" id="node9" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="761,233,924,260"/><area shape="rect" id="node10" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="761,117,924,158"/><area shape="rect" id="node7" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="981,233,1043,260"/><area shape="rect" id="node8" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1091,233,1141,260"/><area shape="rect" id="node15" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="761,335,924,377"/><area shape="rect" id="node16" href="tw-sched_8c.html#ae19668282cb4aab245e2382eea8f1967" title="tw_scheduler_sequential" alt="" coords="760,284,925,311"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
